<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/weui.css">
    <link rel="stylesheet" type="text/css" href="css/jquery-weui.css">
</head>
<body>
<input type="text" id="expression" value="">
<input type="text" class="domain" onkeyup="this.value=this.value.replace(/[^u4e00-u9fa5w]/g,'')" >

<button id="test">test</button>
</body>
<script src="http://cdn.bootcss.com/jquery/2.2.0/jquery.min.js"></script>
<script src="http://cdn.amazeui.org/amazeui/2.7.0/js/amazeui.min.js"></script>
<script type="text/javascript" src="js/jquery-weui.js"></script>
<script type="text/javascript">
    $('#test').click(function () {
        console.log('表情：' + $('#expression').val());
        console.log('表情2：' + $('.domain').val());
        alert('表情：' + $('#expression').val());
    });
</script>
</html>